/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package digitaldreamers.libraries.games.clients.gameclient.gameui.abstracts;

import java.awt.Font;

/**
 *
 * @author DaoLe
 */
public interface IMyGraphics {
    /*
    public static int BASELINE = Graphics.BASELINE;
    public static int BOTTOM = Graphics.BOTTOM;
    public static int HCENTER = Graphics.HCENTER;
    public static int LEFT = Graphics.LEFT;
    public static int RIGHT = Graphics.RIGHT;
    public static int TOP = Graphics.TOP;
    public static int VCENTER = Graphics.VCENTER;
    public static int DOTTED = Graphics.DOTTED;
    public static int SOLID = Graphics.SOLID;
    */
    public IPixmap newPixmap(String fileName);

    public void clear(int color);

    public void drawPixel(int x, int y, int color);

    public void drawLine(int x, int y, int x2, int y2, int color, int style);

    public void drawRect(int x, int y, int width, int height, int color, int style);

    public void drawPixmap(IPixmap pixmap, int x, int y, int anchor);

    public int getWidth();

    public int getHeight();
    
    public void drawText(String text, int x, int y, int color, int anchor, Font f);
}
